import Vue from 'vue'
import App from './App'
import vueResource from 'vue-resource'

Vue.config.productionTip = false
Vue.use(vueResource)

new Vue({
	el:'#root',
	beforeCreate() {
		Vue.prototype.$bus = this //安装全局事件总线
	},
	render: h => h(App)
})